package creational.singleton;

/**
 * @desc 枚举写法
 */
public enum Singleton6 {
    INSTANCE;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
